package com.service.database.constants;

/**
 * 数据库常量类
 * @author xianggj
 * @Date 2021/6/4 15:18
 **/
public class DbConstants {

    /**
     * hive的默认库
     */
    public static final String HIVE_DEFAULT_DATABASE = "default";
    /**
     * pg的默认schema
     */
    public static final String PG_DEFAULT_SCHEMANAME = "public";
    /**
     * sqlserver默认schema
     */
    public static final String SQLSERVER_DEFAULT_SCHEMANAME = "dbo";
    /**
     * hbase默认schema
     */
    public static final String HBASE_DEFAULT_SCHEMANAME = "SYSTEM";

    /**
     * hive的jdbc驱动
     */
    public static final String HIVE_DRIVER = "org.apache.hive.jdbc.HiveDriver";
    /**
     * pg的驱动
     */
    public static final String POSTGRESQL_DRIVER = "org.postgresql.Driver";
    /**
     * mysql的驱动
     */
    public static final String MYSQL_DRIVER = "com.mysql.jdbc.Driver";
    /**
     * mysql8的驱动
     */
    public static final String MYSQL8_DRIVER = "com.mysql.cj.jdbc.Driver";
    /**
     * Oracle的驱动
     */
    public static final String ORACLE_DRIVER = "oracle.jdbc.driver.OracleDriver";
    /**
     * gbase驱动
     */
    public static final String GBASE_DRIVER = "com.gbase.jdbc.Driver";
    /**
     * neo4j驱动
     */
    public static final String NEO4J_DRIVER = "org.neo4j.jdbc.Driver";
    /**
     * db2驱动
     */
    public static final String DB2_DRIVER = "com.ibm.db2.jcc.DB2Driver";
    /**
     * 神通驱动
     */
    public static final String SHENTONG_DRIVER = "com.oscar.Driver";
    /**
     * sybase驱动
     */
    public static final String SYBASE_DRIVER = "com.sybase.jdbc4.jdbc.SybDriver";
    /**
     * SqlServer的驱动类
     */
    public static final String SQLSERVER_DRIVER = "com.microsoft.sqlserver.jdbc.SQLServerDriver";
    /**
     * 达梦的驱动类
     */
    public static final String DAMENG_DRIVER = "dm.jdbc.driver.DmDriver";

    /**
     * 人大金仓的驱动类
     */
    public static final String KINGBASE_DRIVER = "com.kingbase8.Driver";

}
